/**
 * 
 */
package com.jm.web.tags.form;

import com.jm.web.builder.form.CheckboxBuilder;
import com.jm.web.tags.support.RepeatListItemTag;

/**
 * @author yanjie
 *
 * 2011/10/7 上午8:43:23
 */
public class CheckboxTag extends RepeatListItemTag{
	private static final long serialVersionUID = -5724106605977620793L;
	
	@Override
	protected int onStartTag() {
		if(this.getPage().isExport() && !this.isEp()){
			return SKIP_BODY;
		}
		return SKIP_BODY;
	}
	
	@Override
	public String getBuilderName() {
		return CheckboxBuilder.class.getName();
	}
	
	public void setWithHidden(String strValue) {
		SetExtValue("withHidden", strValue);
	}
	
	public void setChecked(String strValue) {
		SetExtValue("checked", strValue);
	}
	
}
